﻿function Remove-TSMAdministrator {
    <#
        .SYNOPSIS
            Remove TSM administrator
                    
        .DESCRIPTION
            The Remove-TSMAdministrator removes a TSM administrator
        
        .EXAMPLE
            Remove-TSMAdministrator "admin"

        .NOTES
            Contributors:  David Seibel
            Last Revision Date: 09/03/2015
    #>
    [CmdletBinding()]
    Param(
        [Parameter(Position = 0, Mandatory = $true)]
        $Admin
    )

    $command = "Remove Admin $Admin" 

    $output = Invoke-TSMCommand -Command $command

    return $output
}